package objects;

import java.util.ArrayList;

public class Feature {
	
	private String name;
	private String value;
	private boolean editable;
	private ArrayList<String> valueList;
	
	public Feature() {
		name = new String();
		value = new String();
		editable = false;
		valueList = new ArrayList<>();
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getValue() {
		return value;
	}
	
	public void setValue(String value) {
		this.value = value;
	}
	
	public boolean isEditable() {
		return editable;
	}
	
	public void setEditable(boolean editable) {
		this.editable = editable;
	}
	
	public ArrayList<String> getValueList() {
		return valueList;
	}
	
	public void setValueList(ArrayList<String> valueList) {
		this.valueList = valueList;
	}
	
	public void addValueListItem(String value) {
		valueList.add(value);
	}
	
	public void removeValueListItem(String value) {
		valueList.remove(value);
	}
	
	public void removeValueListItem(int index) {
		valueList.remove(index);
	}

}
